package com.apobates.forum.toro.test.entity;

public class MultiArgument {
    /**
     * 要设置Vo哪个属性
     * 例:Vo.topic
     */
    private String targetAttr;
    /**
     * 集合的类型
     */
    private String collectionType;
    /**
     * 使用参数的哪个属性的的值作为Select参数
     * 例: Vo.topicId
     */
    private String selectAttr;
    /**
     * selectAttr的类型名称
     * 例: 基础类型: long, 类类型: java.lang.Long
     */
    private String selectAttrTypeName;
    /**
     * 关联聚合对象使用的连接属性
     * 例: selectObj.id( = Vo.topicId)
     */
    private String joinAttr;
    /**
     * 关联聚合对象使用的连接属性类型
     * 例: 基础类型: long, 类类型: java.lang.Long
     */
    private String joinAttrTypeName;

    public MultiArgument() {
    }

    public String getTargetAttr() {
        return targetAttr;
    }

    public void setTargetAttr(String targetAttr) {
        this.targetAttr = targetAttr;
    }

    public String getCollectionType() {
        return collectionType;
    }

    public void setCollectionType(String collectionType) {
        this.collectionType = collectionType;
    }

    public String getSelectAttr() {
        return selectAttr;
    }

    public void setSelectAttr(String selectAttr) {
        this.selectAttr = selectAttr;
    }

    public String getSelectAttrTypeName() {
        return selectAttrTypeName;
    }

    public void setSelectAttrTypeName(String selectAttrTypeName) {
        this.selectAttrTypeName = selectAttrTypeName;
    }

    public String getJoinAttr() {
        return joinAttr;
    }

    public void setJoinAttr(String joinAttr) {
        this.joinAttr = joinAttr;
    }

    public String getJoinAttrTypeName() {
        return joinAttrTypeName;
    }

    public void setJoinAttrTypeName(String joinAttrTypeName) {
        this.joinAttrTypeName = joinAttrTypeName;
    }

    @Override
    public String toString() {
        return "MultiArgument{" +
                "targetAttr='" + targetAttr + '\'' +
                ", collectionType='" + collectionType + '\'' +
                ", selectAttr='" + selectAttr + '\'' +
                ", selectAttrTypeName='" + selectAttrTypeName + '\'' +
                ", joinAttr='" + joinAttr + '\'' +
                ", joinAttrTypeName='" + joinAttrTypeName + '\'' +
                '}';
    }
}
